function onButtonClickB(e)
{
    arrBank = [];
    // 1. Create Element of type <input>
    var newElement = document.createElement("input");
    newElement.className = "input class";
    newElement.placeholder = "Enter name";
    newElement.style.border = "black 2px solid";
    newElement.id = "name";
    newElement.style.padding = "5px";
    newElement.style.marginRight = "10px";

    var newElement2 = document.createElement("input");
    newElement2.className = "input class";
    newElement2.placeholder = "Enter address";
    newElement2.style.border = "black 2px solid";
    newElement2.id = "address";
    newElement2.style.padding = "5px";
    newElement2.style.margin = "10px";

    var newElement3 = document.createElement("input");
    newElement3.className = "input class";
    newElement3.placeholder = "Enter available money";
    newElement3.style.border = "black 2px solid";
    newElement3.id = "money";
    newElement3.style.padding = "5px";
    newElement3.style.margin = "10px";

    var newElement4 = document.createElement("input");
    newElement4.className = "input class";
    newElement4.placeholder = "Enter reserve";
    newElement4.style.border = "black 2px solid";
    newElement4.id = "reserve";
    newElement4.style.padding = "5px";
    newElement4.style.margin = "10px";


    var submit = document.createElement("input");
    submit.type = "submit";
    submit.id = "submit";
    submit.style.padding = "5px";
    submit.value = "Create";

    // 2. Find parent element
    var bank = document.getElementById("bank");

    // 3. Append to parent
    bank.innerHTML += "Bank name: ";
    bank.appendChild(newElement);
    //bank.innerHTML += "<br>";
    bank.innerHTML += "Address: ";
    bank.appendChild(newElement2);
    //bank.innerHTML += "<br>";
    bank.innerHTML += "Money: ";
    bank.appendChild(newElement3);
    bank.innerHTML += "Reserve: ";
    bank.appendChild(newElement4);
    bank.appendChild(submit);
    bank.innerHTML += "<br>";

   arrBank.push(newElement);
   arrBank.push(newElement2);
   arrBank.push(newElement3);
   arrBank.push(newElement4);

    e.preventDefault();
}

